import Vue from 'vue'
import App from './App'
import './element-ui'
import axios from './comm/axios'
import VueAxios from 'vue-axios'
import router from './router'
import store from './store'
import VueMeta from 'vue-meta'
import VoteDetail from './components/VoteDetail'
import TeacherVoteDetail from './components/TeacherVoteDetail'
import TeamVoteDetail from './components/TeamVoteDetail'

Vue.config.productionTip = false

Vue.use(VueMeta)
Vue.use(VueAxios, axios)
Vue.use(VoteDetail)
Vue.use(TeacherVoteDetail)
Vue.use(TeamVoteDetail)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
